package com.zhh.pojo;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

public class TbSupplier {
    private Integer supplierId;

    private String supplierName;

    private Integer medicineId;

    private Integer type;

    private String contact;

    private String contactPhone;

    private String code;

    private Integer state;

    private Date createTime;

    private Date updateTime;

    public TbSupplier() {
        super();
    }

    public TbSupplier(Integer supplierId, String supplierName, Integer medicineId, Integer type, String contact, String contactPhone, String code, Integer state, Date createTime, Date updateTime) {
        this.supplierId = supplierId;
        this.supplierName = supplierName;
        this.medicineId = medicineId;
        this.type = type;
        this.contact = contact;
        this.contactPhone = contactPhone;
        this.code = code;
        this.state = state;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Integer getMedicineId() {
        return medicineId;
    }

    public void setMedicineId(Integer medicineId) {
        this.medicineId = medicineId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}